from flask.sessions import SecureCookieSessionInterface
import datetime


# v = datetime.datetime.now()
# h = datetime.timedelta(hours=1)
# print(v)
# new_date = v + h
# print(new_date)

from redis import Redis

# conn = Redis(host='127.0.0.1')
# v = conn.keys()
# print(v)


# obj = SQLHelper.fetch_one
#     print(obj)
user = 'alex'
pwd = '123'
sql = "select id, name from users where name=%s and pwd=%s" % (user, pwd)
print(sql)